﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wq.MeetingService.Entities
{
    [Tenant("meeting")]
    [SugarTable("Wq_Category")]
    public class CategoryInfo
    {
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(ColumnDescription = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(ColumnDescription = "分类名称")]
        public string Name { get; set; }

        /// <summary>
        /// 排序序号
        /// </summary>
        [SugarColumn(ColumnDescription = "排序序号")]
        public int Sequence { get; set; }
    }
}
